

import { Action } from '@ngrx/store';

export enum MeasureActionTypes {
    MEASURE_DISTANCE = '[Measure] Measure Disatance',
    MEASURE_ACREAGE = '[Measure] Measure Acreage',
    MEASURE_CLEAR = '[Measure] Measure Clear'
}

export class MeasureDistance implements Action {
    readonly type = MeasureActionTypes.MEASURE_DISTANCE;
}

export class MeasureAcreage implements Action {
    readonly type = MeasureActionTypes.MEASURE_ACREAGE;
}

export class MeasureClear implements Action {
    readonly type = MeasureActionTypes.MEASURE_CLEAR;
}

export type MeasureAction 
    = MeasureDistance
    | MeasureAcreage
    | MeasureClear;